Intersoft WebInput Documentation
Formatting Data
See Also Send Feedback
Intersoft WebInput > Features and Concepts > Formatting Data

Glossary Item Box

WebInput.NET is using standard .NET formatting feature, so it has a solid formatting base that exposes much .NET formatting features including format expression, validation, separator and standard format.

The formatting lets WebInput.NET to format and validate the display text data according to supplied format expression and it is represented by DisplayFormat property of WebInput.NET.
   
Formatting in WebInput.NET modes:

Formatting process sequences :

Format expression is different from mask expression.
The display text : control text when control has no focus (deactivated - blur).
The edit text : control text when control value is edited (control has focused).
Supported .NET format expressions.

     Custom format character
          0 - Zero placeholder
          # - Digit placeholder
          . - Decimal point
          , - Thousand separator and number scaling
          % - Percentage placeholder
          E0, E+0, E-0, e0, e+0, e-0 - Scientific notation
          ; - Section separator
          Other - all other Character

 

     Custom format character
          d
          f
          g
          h
          H
          m
          M
          s
          t
          y
          z
          :
          /
         any other character


UnSupported .NET format expressions.

     Custom format character
           \ - Escape character
           'ABC' or "ABC" - Literal string

 

      Custom format character    
           "
           '
           %c
           \c

In This Section

How-to: Use DateTime display formatting

How-to: Use DateTime edit formatting

How-to: Combine DateTime display and edit formatting

How-to: Use numeric display formatting

How-to: Use numeric edit formatting

How-to: Combine numeric display and edit formatting

See Also